<template>
<div class="outer">
  <Header></Header>
  <router-view></router-view>
  <!--
    第一种方法
     <FooterLast v-if="$route.fullPath=='/login'||$route.fullPath=='/register'"/> -->
  <!-- <Footer v-else/>
   -->
   <!-- 第二种方法利用路由元数据 -->
   <FooterLast v-if="$route.meta.noShow"/>
   <Footer  v-else/>
</div>
  
</template>

<script>
import Header from './components/Header/'
import Footer from './components/Footer/'
import FooterLast from './components/FooterLast/'
export default {
  components:{
    Header,
    Footer,
    FooterLast
  },
  mounted(){
      
  }
}
</script>

<style>
 

</style>
